/{businessId}/troubleTicket/{id}
[PATCH]
To update the notes or comments in salesforce from InvGate.
URL
https://nonprod.lc.esb.cloud.lla.com/test/invgate-ux-lc/invgate-ux/v1/{businessId}/troubleTicket/{id}
Url Param
| name | type | description | required |
|---|
| businessId | string | Expected: HN,CO,CR,SV,GT,DO,TT,BB,JM,AG,AI,DM,GD,LC,VC,TC,MS,VG | Y |
| id | string | Salesforce Id | Y |
| name | type | description | required |
|---|
| client_id | string | Client Id value for Client Id Enforcement policy. Environment Specific Value. Eg: 6f0ed16a7b494d76b2d60e05bc3b3332 | Y |
| client_secret | string | Client secret value for Client Id Enforcement policy. Environment Specific Value, eg: e4CD4D43449846aA9D8Cb9c43fAd324a | Y |
| X-Correlation-ID | string | This is a unique identifier. Could be uuid value, Min 16 Characters Syntax: correlationId: uuid:cwc--, example: X-Correlation-ID: f058ebd6-02f7-4d3f-942e-904344e8cde7:cwc--qacarepc | N |
Salesforce tenants
| SF Environment to Connect | SF Instance |
|---|
| QA | cwc--qa |
| UAT | cwc--uatsfdc |
| Production | cwc--prod |
Body Definitions
| name | type | description | required |
|---|
| @type | string | Default: NetworkTroubleTicket | Y |
| ticketType | string | Type of incident Expected: Incident,Service Request,Change Request | Y |
| externalId | string | Invgate Ticket Id | N |
| note[].text | string | Notes descrpiton and Notes details seperated with pipe symbol | N |
| note[].@type | string | Default : Note | N |
| attachment[].mimeType | string | Type of attachment | N |
| attachment[].name | string | Name of attachment | N |
| attachment[].content | string | Base64 content of attachment | N |
| attachment[].attachmentType | string | Default to "WorklogAttachments" | N |
| attachment[].@referredType | string | Default : Attachment | N |
Sample Request
{
"ticketType":"",
"externalId":"",
"note": [
{
"text":"<notes descrption>|<notes details>",
"@type":"Note"
}
],
"attachment": [
{
"mimeType": "text/plain",
"name": "ModemImage.txt",
"content": "<base64 content>",
"attachmentType": "WorklogAttachments",
"@referredType": "Attachment"
}
],
"@type":"NetworkTroubleTicket"
}
Success Response
{
"ticketType":"",
"externalId":"",
"note": [
{
"text":"<notes descrption>|<notes details>",
"@type":"Note"
}
],
"attachment": [
{
"mimeType": "text/plain",
"name": "ModemImage.txt",
"content": "<base64 content>",
"attachmentType": "WorklogAttachments",
"@referredType": "Attachment"
}
],
"@type":"NetworkTroubleTicket"
}